package com.smart.reader.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("新增用户信息参数")
public class SysUserInfoAddBo {
    
    @ApiModelProperty(value = "用户名", example = "zhangsan", required = true)
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码", example = "123456", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "电话号码", example = "13800138000")
    private String phoneNumber;

    @ApiModelProperty(value = "头像地址", example = "https://example.com/avatar.jpg")
    private String avatarAddress;

    @ApiModelProperty(value = "姓名", example = "张三", required = true)
    @NotBlank(message = "姓名不能为空")
    private String fullName;
}